-
as seen on Super User
- Search for 'Super User'
The following tar command will exclude all dot files and dot directories.
tar -cvzf /media/bjackfly/bkup/bkup.gz --exclude '.*' --one-file-system /home/bjackfly
In my case I want the dot files to be backed up in the home directory (.vimrc, .bashrc) etc. but not the dot directories /.config /.cache…
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
Not that anyone would still need this, but in case you have a situation where the code MUST be .NET 2.0 compliant and you want to use a cool feature like Extension methods, there is a way.
I saw this article when looking for ways to create extension methods in C++, C# and VB:
http://msdn.microsoft…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I need to execute shell command in python program (I have ubuntu). More specifically I want to create graph using graphviz in python script. My code is
os.system("dot -Tpng graph.dot -o graph.png")
It does not work, but if I just type dot -Tpng graph.dot -o graph.png in command line then everything…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Now, in c++ '...' became a first class operator.
In speech, how do you pronounce it?
So far I've heard:
dot dot dot
triple dot
ellipsis
related: Is it OK to replace ... with ellipsis in writing?
e.g. "The ellipsis operator expands the pack"
EDIT (clarification): We are all aware that '...' as…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
All this is performed on Ubuntu 10.04.4 LTS Server
I installed LUA 5.1.4 following this procedure - http://ubuntuforums.org/showthread.php?t=1874860
I installed prosody following this command (after downloading the package) - sudo dpkg -i prosody_0.8.2-1_i386.deb
After installation, I get the…
>>> More